﻿'--------------------------------------------------------------------------------------
'Copyright: (c) 2010 Bentley Systems, Incorporated.
'--------------------------------------------------------------------------------------
'
'  This file is part of structural-gc.
'
'  structural-gc is free software: you can redistribute it and/or modify
'  it under the terms of the GNU General Public License as published by
'  the Free Software Foundation, either version 2 of the License, or
'  (at your option) any later version.
'
'  structural-gc is distributed in the hope that it will be useful,
'  but WITHOUT ANY WARRANTY; without even the implied warranty of
'  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
'  GNU General Public License for more details.
'
'  You should have received a copy of the GNU General Public License
'  along with structural-gc.  If not, see <http://www.gnu.org/licenses/>
'--------------------------------------------------------------------------------------

Public NotInheritable Class Initializer
    Implements IAssemblyInitializer

    ' Whenever GC loads an assembly, it examines all of the classes therein, and looks for
    ' those that (1) are public, (2) implement the IAssemblyInitializer interface, and (3)
    ' have a public constructor that takes no arguments. For each such class, GC instantiates
    ' it, automatically.

    Public Sub New()
        'MyGCScriptFunctions.Load()
        Nudge()

    End Sub


    Public Shared Sub Nudge()
        ' Do-nothing method that we can call simply to ensure that this class has been initialized. 
    End Sub

End Class



'Imports System
'Imports System.Collections.Generic
'Imports System.Text

'Namespace Bentley.GenerativeComponents.Features

'    Public NotInheritable Class Initializer
'        Implements IAssemblyInitializer

'        ' Whenever GC loads an assembly, it examines all of the classes therein, and looks for 
'        ' those that (1) are public, (2) implement the IAssemblyInitializer interface, and (3) 
'        ' have a public constructor that takes no arguments. For each such class, GC instantiates 
'        ' it, automatically. 

'        '------------------------------------------------------------------------------------* 
'        ' <author>Joop.Verdegaal</author> <date>01/2009</date> 
'        '--------------+---------------+---------------+---------------+---------------+------ 

'        Public Sub New()

'            Nudge()

'        End Sub

'        Public Shared Sub Nudge()
'            ' Do-nothing method that we can call simply to ensure that this class has been initialized. 
'        End Sub

'    End Class
'End Namespace
